package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.dto.chat.BussnessDto;
import com.atguigu.spzx.model.dto.order.createOrderDto;
import com.atguigu.spzx.model.vo.address.addressVo;
import com.atguigu.spzx.model.vo.chat.bussnessVo;
import com.atguigu.spzx.model.vo.sell.SellVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface HomeService {
    List<SellVo> GetAllsell();

    SellVo GetSellById(Integer id);

    bussnessVo GetAvatar(String bussnessName);

    void CreateChat(BussnessDto bussnessDto);

    List<addressVo> GetUserAddress(Long id);

    void CreateOrder(createOrderDto createOrderDto);

}
